#pragma once
#ifndef BASICHISTOGRAM_H
#define BASICHISTOGRAM_H
#include "../basic/Chart.h"
namespace LightChart {
class BasicHistogram : public Chart
{
public:
    BasicHistogram(std::string title = "Histogram");
    virtual std::vector<Axis*> get_axes();
    Axis x, y;
    double min;
    double max;
private:
    friend class boost::serialization::access;
    template<class Archive> void serialize(Archive & ar, const unsigned int version);
};
template<class Archive> inline void BasicHistogram::serialize(Archive & ar, const unsigned int) {
    ar & boost::serialization::base_object<Chart>(*this);
    ar & x & y;
}
}
#if BOOST_VERSION > 104200
#else
BOOST_CLASS_EXPORT(LightChart::BasicHistogram)
#endif
#endif // BASICHISTOGRAM_H
